package shuati;

/**
 * @date:2022/9/25
 * @author:CqLtd
 * @name:A+Bproblem
 */
import java.math.BigDecimal;
import java.util.Scanner;
public class p5 {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        BigDecimal a = new BigDecimal(String.valueOf(sc.nextBigDecimal()));
        BigDecimal b = new BigDecimal(String.valueOf(sc.nextBigDecimal()));
        System.out.println(a.add(b));
    }
}

